package com.handinglian.ai.callin.mapper;

import com.handinglian.ai.callin.entity.CallInBusiness;
import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface CallInBusinessMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(CallInBusiness record);

    int insertOrUpdate(CallInBusiness record);

    int insertOrUpdateSelective(CallInBusiness record);

    int insertSelective(CallInBusiness record);

    CallInBusiness selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(CallInBusiness record);

    int updateByPrimaryKey(CallInBusiness record);

    int updateBatch(List<CallInBusiness> list);

    int batchInsert(@Param("list") List<CallInBusiness> list);

    List<CallInBusiness> findByCallid(@Param("callid")String callid);
}